package com.why.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author hy-woo
 * @since 2022-06-07
 */
@Getter
@Setter
@TableName("tb_cop")
public class Cop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 编号
     */
    private String cono;

    private String name;

    /**
     *  合作类型  1 销售  2 采购
     */
    private Integer cotype;

    /**
     * 网站
     */
    private String courl;

    /**
     * 范围,字典表中id
     */
    private Integer coscope;

    /**
     * 开始合作的时间
     */
    private LocalDate costart;

    /**
     * 合作大区
     */
    private Integer coarea;

    private String email;

    private String telphone;

    private String img;

    /**
     * 添加时间
     */
    private LocalDate created;

    /**
     * 添加人
     */
    private Integer creater;

    private Integer status;


}
